package com.bjpowernode.crm.workbench.service;

import com.bjpowernode.crm.workbench.domain.Clue;
import com.bjpowernode.crm.workbench.domain.ClueRemark;

import java.util.List;

public interface ClueRemarkService {

    /**
     * 根据线索表id查询线索表评论
     * @param clueId
     * @return
     */
    List<ClueRemark> queryClueRemarkByClueId(String clueId);

    /**
     * 添加一条线索表备注
     * @param clueRemark
     * @return
     */
    int saveClueRemark(ClueRemark clueRemark);

    /**
     * 根据id删除备注
     * @param id
     * @return
     */
    int deleteClueRemarkById(String id);

    /**
     * 修改线索表的备注
     * @param clueRemark
     * @return
     */
    int updateClueRemark(ClueRemark clueRemark);
}
